Repository navigation
secure: webcpp::secure registered, hash and crypto on it, Cobalt's MSVC frame alignment patched - #59
Merged
Merged
Conversation
added 28 commits
November 24, 2026 13:59
The library's repository is webcpporg/secure, added by the relative URL ../secure.git as every library's. The recorded commit moves to the library's genesis as it is built.
…and the user Jamfile tests copy libs/secure
… secret_of_no_bytes is secure's fixture
… and hash's chapters name its guard, erase, comparison and secret
… hash and crypto on it (9fb33ed, d52c320, 1566153)
…d measurements and secure's is the reference, secure's entry is in its merged form, and AGENTS.md's crypto row no longer names constant_time_equal
…'s fix wave (43ce517, 5b5efcd, 04d56e7)
…secure's header does
… catch inside it (Windows on ARM64), its cost measured again, dudect_blocks measures the blocks inside a guard, and the dudect programs build under MSVC
…coroutine-align-msvc.patch, upstream boostorg/cobalt d67080b), and the Cobalt provenance tests read Boost 1.92.0's headers as released
…balt's frame alignment check, the memory tests' private destructor)
…der before a frame counted in sizeof(coroutine_align_t), std::max_align_t's off MSVC, so every size, offset and alignment there is Boost 1.92.0's), takes upstream d67080b's change to main.hpp's unsized branch, and says how it differs from upstream
… leaves DIT as found while it unwinds the call, and that Windows on ARM64 clears it after the catch
…secure's guard leaves DIT as found (set again when found set and cleared, 1.3 ns), Windows on ARM64 clears DIT after a catch, and crypto's adapter and hash's guard rule agree
…s (path_in_library without substr, the OpenSSL adapter keeps DIT across its catches, the DIT pages on exceptions, the guard page and blocks wording)
… state its figures
…cure's genesis and hash's and crypto's moves onto it (951401a, 9897857, 7b2c776)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
webcpp::secure joins the superproject, and hash and crypto move onto it.
libs/secure: the submodule (../secure.git), with the gitlinks oflibs/secure,libs/hashandlibs/cryptoat their merged mains (secure: genesis (the DIT guard, erase_secret, secret, constant_time_equal, declassify and the constant-time blocks) secure#1, hash: every guard and wipe on webcpp::secure; hash's copies deleted hash#15, crypto: every guard, wipe, erase, comparison, secret and declassify on webcpp::secure, no alias crypto#19).secure_jamfiles_test,secure_collect_test,secure_dudect_judge_test; the CI's own-lane packages and dudect judge per library (tools/ci/matrix.py,library.yml); the user Jamfile tests copylibs/secure; hash's DIT text indoc_tables.py.tools/ci/actions/boost/patches/cobalt-coroutine-align-msvc.patch: Boost.Cobalt 1.92.0 gives MSVC coroutine frames 8 mod 16, which crashes optimised code (found as a 0xC0000005 in hash'sasync_cobalton MSVC release); it carries upstream's fix (boostorg/cobalt d67080b) with its effect limited to MSVC, byte-identical elsewhere; the Cobalt provenance tests strip the CI's patches before comparing. The owner approved the first patch explicitly; this one rests on his standing instruction and is named in the guidelines.Verified locally before merge: clang 908, gcc-15 713, wasip2 808, wasip3 791, Emscripten 598, clang and Emscripten release, the constant-time lanes,
b2 doc, the generators' checks, the tools tests,report.py, macOS and Linux full lint; MSVC 14.3 and 14.5 x64 debug (secure, hash, crypto, cobalt: 858 passed each), MSVC 14.5 arm64 debug for the DIT tests. One CI at the end, on main.🤖 Generated with Claude Code